package pojo;

import anno.ExcelConfig;
import anno.ExcelField;
import lombok.Data;

@Data
@ExcelConfig
public class TableExcel {

    @ExcelField(index = 0,value = "表名")
    private String tableName;
    @ExcelField(index = 1,value = "序号")
    private Integer seq;
    @ExcelField(index = 2,value = "字段名称")
    private String fieldName;
    @ExcelField(index = 3,value = "数据类型")
    private String TableType;
    @ExcelField(index = 4,value = "是否非空")
    private String nullAble;
    @ExcelField(index = 5,value = "字段说明")
    private String remark;

    public TableExcel(String tableName, Integer seq, String fieldName, String tableType, String nullAble, String remark) {
        this.tableName = tableName;
        this.seq = seq;
        this.fieldName = fieldName;
        TableType = tableType;
        this.nullAble = nullAble;
        this.remark = remark;
    }

    public TableExcel() {
    }
}
